#include "key.h"

uchar key_scan_kbd() {
	uchar temp = 0;

	P44 = 0; P42 = 1;
	if(P33 == 0) temp = 4;
	if(P32 == 0) temp = 5;
	
	P44 = 1; P42 = 0;
	if(P33 == 0) temp = 8;
	if(P32 == 0) temp = 9;

	return temp;
}